package com.lyc.comment02;

import sun.security.util.Length;

import java.lang.annotation.*;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/10/26 17:40
 * @description：
 * @modified By：
 * @version:
 */

public class Text03 {

}

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD,ElementType.TYPE})
@interface MrLiu01{
    int len() default 20;

    String[] houst();

    Liu liu();

    MrLiu02 MR_LIU_02();
}

@interface MrLiu02{
    int len();
}

enum Liu{
    TYPE,PLAY
}

@MrLiu01(houst = {"欢欢","迎迎","贝贝","迎迎"},liu = Liu.PLAY,MR_LIU_02=@MrLiu02(len = 8))
class Animal{

}